- fileName
- A String containing the name of the unknown form image file.
- categories
- List of Master Forms categories to use in comaprison, pass null or empty to use all Master Forms in the repository.
Visual Basic (Declaration) | |
---|---|
Overloads Public Function Run( _ ByVal fileName As String, _ ByVal categories As List(Of IMasterFormsCategory) _ ) As AutoFormsRunResult |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public AutoFormsRunResult Run( string fileName, List<IMasterFormsCategory> categories ) |
C++/CLI | |
---|---|
public: AutoFormsRunResult^ Run( String^ fileName, List<IMasterFormsCategory>^ categories ) |
Parameters
- fileName
- A String containing the name of the unknown form image file.
- categories
- List of Master Forms categories to use in comaprison, pass null or empty to use all Master Forms in the repository.
Return Value
Returns the results of the recognition and processing if the form is recognized, otherwise it returns null. If the Master Form has no processing field, AutoFormsRunResult.FormFields will be null.
Visual Basic | Copy Code |
---|---|
Public Sub AutoFormRunFile() |
C# | Copy Code |
---|---|
public void AutoFormRunFile() |
This method automatically recognizes the unknown form and process its fields at the same time.
The fileName should have all form pages.
If RecognizeFirstPageOnly is true, the recognition will be performed based on the first page only, if it is false the recognition will be performed over all the form pages.
If the form is not recognized it will return null, if the Master Form of the form type has no field then AutoFormsRunResult.FormFields will be null.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family